#include <src/usb/pspusbbus.h>
Data Fields | |
| const char * | name |
| Name of the USB driver. | |
| int | endpoints |
| Number of endpoints in this driver (including default control). | |
| UsbEndpoint * | endp |
| List of endpoint structures (used when calling other functions). | |
| UsbInterface * | intp |
| Interface list. | |
| void * | devp_hi |
| Pointer to hi-speed device descriptor. | |
| void * | confp_hi |
| Pointer to hi-speed device configuration. | |
| void * | devp |
| Pointer to full-speed device descriptor. | |
| void * | confp |
| Pointer to full-speed device configuration. | |
| StringDescriptor * | str |
| Default String descriptor. | |
| int(* | recvctl )(int arg1, int arg2, struct DeviceRequest *req) |
| Received a control request arg0 is endpoint, arg1 is possibly data arg2 is data buffer. | |
| int(* | func28 )(int arg1, int arg2, int arg3) |
| Unknown. | |
| int(* | attach )(int speed, void *arg2, void *arg3) |
| Configuration set (attach) function. | |
| int(* | detach )(int arg1, int arg2, int arg3) |
| Configuration unset (detach) function. | |
| int | unk34 |
| Unknown set to 0. | |
| int(* | start_func )(int size, void *args) |
| Function called when the driver is started. | |
| int(* | stop_func )(int size, void *args) |
| Function called when the driver is stopped. | |
| UsbDriver * | link |
| Link to next USB driver in the chain, set to NULL. | |
|
|
Configuration set (attach) function.
|
|
|
Pointer to full-speed device configuration.
|
|
|
Pointer to hi-speed device configuration.
|
|
|
Configuration unset (detach) function.
|
|
|
Pointer to full-speed device descriptor.
|
|
|
Pointer to hi-speed device descriptor.
|
|
|
List of endpoint structures (used when calling other functions).
|
|
|
Number of endpoints in this driver (including default control).
|
|
|
Unknown.
|
|
|
Interface list.
|
|
|
Link to next USB driver in the chain, set to NULL.
|
|
|
Name of the USB driver.
|
|
|
Received a control request arg0 is endpoint, arg1 is possibly data arg2 is data buffer.
|
|
|
Function called when the driver is started.
|
|
|
Function called when the driver is stopped.
|
|
|
Default String descriptor.
|
|
|
Unknown set to 0.
|
1.4.6